package com.thduan.hotfix;

import android.app.Activity;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.widget.TextView;

/**
 * Created by duantianhui on 2018/10/12.
 */

public class SecActivity extends Activity{

    TextView textView;

    public static void startActivity(Context context) {
        context.startActivity(new Intent(context, SecActivity.class));
    }

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.sec_layout);

        textView = findViewById(R.id.show_txt);

        textView.setText("第二个版本RRRRRRRRR");
    }
}
